package cn.classTest.mall.mapper;


import cn.classTest.mall.domain.Shop;
import cn.classTest.mall.query.QueryObject;

import java.util.List;

public interface ShopMapper {

    void save(Shop shop);

    void update(Shop shop);

    void delete(Long id);

    Shop selectOne(Long id);

    List<Shop> queryForPage(QueryObject qo);

    List<Shop> selectAll();

    List<Shop> selectOneByMallId(Long id);

    String selectOneNameById(Long id);

}
